import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity("apartment_tag", { schema: "cbox" })
export class ApartmentTag {
  @PrimaryGeneratedColumn({ type: "int", name: "id", unsigned: true })
  id: number;

  @Column("varchar", { name: "name", length: 32 })
  name: string;

  @Column("tinyint", { name: "search", width: 1 })
  search: boolean;
}
